<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

// 首页面
Route::get('/','Index/index');


Route::get('login','Index/login');

// 注册页面
Route::get('register','Index/register');

// 发送短信
Route::post('sendSms','Index/sendSms');

// 完成注册
Route::post('finish','Index/finish');

// 完成登录
Route::post('finishLogin','Login/finishLogin');

// QQ 登录
Route::get('qqlogin','Index/qqlogin');
Route::get('qqcallback','Login/qqcallback');

// 商品列表详
Route::get('goodsList','Goods/index');

// 商品列表详情页
Route::get('goodsItem','Goods/goodsItem');

// 查询商品库存
Route::post('store','Goods/store');

// 添加商品购物车
Route::post('cart','Cart/cart');

// 添加商品购物车
Route::get('cartShow','Cart/cartShow');

